package org.road0329.tools.proto_parse_tool.chargingpile;

import java.io.Serializable;

/**
 * 与前置交互的基类
 */
public class MsgDcsBase implements Serializable {

    private static final long serialVersionUID = 1L;
    /*命令编码*/
    private String cmdId;
    /*命令类型:对应命令枚举*/
    private int cmdType;
    /*通讯协议*/
    private Short protocolId;
    /*充电桩编码*/
    private Integer pileId;
    /*通讯地址：桩编号*/
    private String commAddr;
    /*充电枪号*/
    private Integer gunNo;

    public String getCmdId() {
        return cmdId;
    }

    public void setCmdId(String cmdId) {
        this.cmdId = cmdId;
    }

    public int getCmdType() {
        return cmdType;
    }

    public void setCmdType(int cmdType) {
        this.cmdType = cmdType;
    }

    public Short getProtocolId() {
        return protocolId;
    }

    public void setProtocolId(Short protocolId) {
        this.protocolId = protocolId;
    }

    public Integer getPileId() {
        return pileId;
    }

    public void setPileId(Integer pileId) {
        this.pileId = pileId;
    }

    public String getCommAddr() {
        return commAddr;
    }

    public void setCommAddr(String commAddr) {
        this.commAddr = commAddr;
    }

    public Integer getGunNo() {
        return gunNo;
    }

    public void setGunNo(Integer gunNo) {
        this.gunNo = gunNo;
    }
}
